<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>后台管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="{skin:css/admin.css}" />
{js:jquery}
{js:dialog}
{js:form}
{js:validate}
<script type='text/javascript' src="{theme:javascript/common.js}"></script>
<script type='text/javascript' src="{theme:javascript/admin.js}"></script>
<script type='text/javascript' src="{theme:javascript/menu.js}"></script>
</head>
<body>
<div class="container">
	<div id="header">
		<div class="logo">
			<a href="{url:/system/default}"><img src="{skin:images/admin/logo.gif}" width="303" height="43" /></a>
		</div>
		<div id="menu">
			<ul name="menu">
			</ul>
		</div>
		<p><a href="{url:/systemadmin/logout}">退出管理</a> <a href="{url:/system/default}">后台首页</a> <a href="{url:}" target='_blank'>商城首页</a> <span>您好 <label class='bold'>{$this->admin['admin_name']}</label>，当前身份 <label class='bold'>{$this->admin['admin_role_name']}</label></span></p>
	</div>
	{set:$admin_id = $this->admin['admin_id']}
	<div id="info_bar"><label class="navindex"><a href="{url:/system/navigation}">快速导航管理</a></label><span class="nav_sec">
	{query:name=quick_naviga where=adminid eq $admin_id and is_del eq 0}
	<a href="{$item['url']}" class="selected">{$item['naviga_name']}</a>
	{/query}
	</span></div>
	<div id="admin_left">
		<ul class="submenu">
		</ul>
		<div id="copyright">
			
		</div>
	</div>
	{set:$menu = new Menu();}
	<script type='text/javascript'>
		var data = {echo:$menu->submenu()};
		var current = '{echo:$menu->current}';
		var url='{url:/}';
		initMenu(data,current,url);
	</script>
	<div id="admin_right">
	{viewcontent}
	</div>
	<div id="separator"></div>
</div>
<script type='text/javascript'>
	//隔行换色
	$(".list_table tr::nth-child(even)").addClass('even');
	$(".list_table tr").hover(
		function () {
			$(this).addClass("sel");
		},
		function () {
			$(this).removeClass("sel");
		}
	);
	$(function(){
		 $('#headth th').each(function(i){
			var width = $('#headth th:eq('+i+')').width();
			$('#conth tr:eq(0) td:eq('+i+')').width(width-2);
		});
	});
</script>
</body>
</html>
